<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<%@ include file="/WEB-INF/views/common/include.jsp"%>
<script src="${ctx}/static/js/homework/homework_add.js"></script>

    <title>作业添加</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
	<form id="addHomework">
		<div style="width: 800px;margin:0 auto">
		  <div class="form-group">
		    <label>作业标题</label>
		    <input type="text" class="form-control" name="title" id="title" placeholder="作业标题">
		  </div>
		  <div class="form-group">
		    <label>截至日期</label>
		    <div class="input-group date form_date" data-date="" data-date-format="yyyy-mm-dd" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
                <input class="form-control" size="16" type="text" value="" readonly name="deadlineDate" id="deadlineDate">
                <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
            </div>
		  </div>
		  <div class="form-group">
		    <label>作业内容</label>
		    <textarea class="form-control required" rows="12" name="content"></textarea>
		  </div>
		  <button type="button" onclick="doAdd()" class="btn btn-default">保存</button>
		 </div>
	</form>
</body>
</html>
